﻿using System.Data.Entity;
using SDCloudSolution.SDCloud.DataLayer.Interfaces;
using SDCloudSolution.SDCloud.Entities.Identity.OAuth;

namespace SDCloudSolution.SDCloud.DataLayer.Identity
{
    public class ClientApplicationDbContext : DbContext
    {
        public DbSet<ClientApplicationEntity> ClientApplications { get; set; }

        public ClientApplicationDbContext(IIdentityDbConnectionStringProvider connectionStringProvider)
            : base(connectionStringProvider.IdentityDbConnectionString)
        {
        }
    }
}
